#obj-m += led.o

obj-m := led.o

KDIR :=/home/king/rpi/rpi4_linux/linux-core
all: 
	make -C $(KDIR) M=$(PWD) modules ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
clean:
	rm -f *.o *.ko
	rm -f *.mod *.mod.c *.order *.symvers
	rm -f .*.cmd
